Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@guidepup/guidepup

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guidepup/guidepup

Screen reader driver for test automation.

  • 0.20.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.6K
increased by10.09%
Maintainers
1
Weekly downloads
 
Created
Source

Guidepup

Screen reader driver for test automation.

Guidepup available on NPM Guidepup available on NPM Guidepup test workflows Guidepup uses the MIT license

Reliable automation for your screen reader a11y workflows through JavaScript supporting:

VoiceOver on MacOS

NVDA on Windows

Intro

A11y static analysis tools only cover 25% of WCAG and don't assure on the quality of the user experience for screen reader users. This means teams need to perform lots of manual tests with multiple screen readers to ensure great UX which can take a lot of time... not anymore!

With Guidepup you can automate your screen reader test workflows the same you as would for mouse or keyboard based scenarios, no sweat!

Quick Features

  • Full Control - if a screen reader has a keyboard command, then Guidepup supports it.
  • Mirrors Real User Experience - assert on what users really do and hear when using screen readers.
  • Framework Agnostic - run with Jest, with Playwright, as an independent script, no vendor lock-in.

Get Started

Set up your environment for screen reader automation with @guidepup/setup:

npx @guidepup/setup

Install Guidepup to your project:

npm install @guidepup/guidepup

And get cracking with your first screen reader automation code!

import { voiceOver } from "@guidepup/guidepup";

(async () => {
  // Start your screen reader instance
  await voiceOver.start();

  // Navigate your environment with screen readers just as your users do
  await voiceOver.next();

  // Assert on what your users really see and hear when using screen readers
  console.log(await voiceOver.lastSpokenPhrase());

  // Stop your screen reader instance
  await voiceOver.stop();
})();

Documentation

Head over to the Guidepup Website for guides, real world examples, environment setup, and complete API documentation with examples.

Alternatively, you can also check out the typedoc API documentation.

Examples

Check out these awesome examples to learn how you could use Guidepup in your projects.

Alternatively check out this project to check out the Guidepup compatibility against https://github.com/w3c/aria-at test suite.

See Also

Check out some of the other Guidepup modules:

If you are using GitHub Actions, check out the dedicated guidepup/setup-action to set up your CI ready for screen reader automation.

- name: Set Up Environment
  uses: guidepup/setup-action

Support

Full support is available for:

  • VoiceOver on MacOS
  • NVDA on Windows

Similar

Here are some similar unaffiliated projects:

License

MIT

Keywords

FAQs

Package last updated on 27 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc